﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Travel.Data;
using Travel.Data.Dtos;
using Travel.Data.Dtos.TravelBusiness;
using Travel.Data.Inputs;

namespace Travel.Service.TravelBusiness
{
    public interface IFavoriteService
    {
        /// <summary>
        /// 添加收藏夹
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Results<int>> AddFavorite(AddFavoriteInput input);
        /// <summary>
        /// 查看收藏夹
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Results<PageDto<FavoriteDto>>> UpdateFavorite(FavoriteQueryInput input);
        /// <summary>
        /// 移除收藏夹
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Results<int>> RemoveFavorite(long id);
    }
}
